fix(ci): harden release supply chain#3
Merged
Conversation
Contributor
|
🎉 This PR is included in version 1.0.11 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Harden the CLI release pipeline against the three validated supply-chain findings: mutable release actions, unsafe backfill tag interpolation, and unchecked SEA runtime downloads.
Changed
voidzero-dev/setup-vp@v1in release-impacting workflows with pinnedactions/setup-node,corepack enable, andpnpm install --frozen-lockfileactions/checkoutref, and passTAG_NAMEto PowerShell throughenvscripts/build-sea.mjstoscripts/build-sea.mtsand verify Node runtime archive checksums viaSHASUMS256.txtbefore extractionRisks
Verification
pnpm run verifypnpm run build:sea && pnpm run verify:seanode --check scripts/build-sea.mtssetup-vp, no unsafetag_nameshell/PowerShell interpolation, full-SHA action pins, and SEA checksum controlsvpgate passedComplexity
Neutral. The workflow setup is more explicit, but the release trust boundary is clearer and the SEA checksum check is localized to the runtime download path.